package ace.module.oauth2.server.api.constant;

/**
 * .
 *
 * @author capsar
 */
public interface Oauth2ServerConstant {

  String MODULE_NAME = "oauth2Server";

  String MODULE_DISPLAY_NAME = "oauth2服务";

  String OAUTH2_TOKEN_ENDPOINT_URI = "/oauth2/token";

  String OAUTH2_INTROSPECT_ENDPOINT_URI = "/oauth2/introspect";

  String OAUTH2_REVOKE_ENDPOINT_URI = "/oauth2/revoke";

  String OAUTH2_LOGIN_GRANT_TYPE_URI = "/oauth2/login/grant-type";

  String OAUTH2_USER_INFO_ENDPOINT_URI = "/userinfo";

  String OAUTH2_AUTHORIZATION_BEARER_PREFIX = "Bearer";

  String OAUTH2_GRANT_TYPE_EXTERNAL_USER = "external_user";

  String OAUTH2_ACCESS_TOKEN_VALUE_FIELD_NAME = "access_token";
}
